/*
Copyright (C) 2008 raohmaru <http://www.raohmaru.com>

This file is part of Raohmaru AS3 Framework.

Raohmaru AS3 Framework is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Raohmaru AS3 Framework is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Raohmaru AS3 Framework.  If not, see <http://www.gnu.org/licenses/>.
*/

package jp.raohmaru.net 
{

/**
 * La clase WSError es una enumeración de los posibles códigos de error devueltos por un servicio web (WebService).
 * @see WebService
 * @author raohmaru
 * @version 1.0
 */
public class WSError 
{
	public static const OK : String = "0000",
	
						ERROR_USUARIO_INEXISTENTE : String = "1001",
						ERROR_NO_EXISTE_EN_BBDD : String = "1100",
						ERROR_USUARIO_MAIL_REPETIDO : String = "1006",
						ERROR_MOVIL_REPETIDO : String = "1009",
						ERROR_DNI_REPETIDO : String = "1011",
						ERROR_CANJEO_SOBREPASADO : String = "3001",
						ERROR_PROMO_SOBREPASADA : String = "3100",
						ERROR_CUENTA_CREDITOS_INSUFICIENTES : String = "4002",
						ERROR_INVENTARIO_INSUFICIENTE : String = "4101",
						ERROR_PROMO_NO_INICIADA : String = "5004",
						ERROR_PROMO_YA_RELLENADA : String = "5005",
						
						ERROR_NO_AUTORIZADO : String = "9993",
						ERROR_SESION_NO_EXISTE : String = "9994",
						ERROR_DESCONOCIDO : String = "9999";
}
}